
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Vnplace - Báo cáo lỗi</title>
	
	<!-- CSS -->
	<link href="css/transcreate.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="css/category.css" rel="stylesheet" type="text/css" media="screen" />
	
	<link href="./content-editor/css/transcreate.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="./content-editor/css/category.css" rel="stylesheet" type="text/css" media="screen" />
</head>

<body class="dt-example">
	<div id="wrapper">
		<!-- h1 tag stays for the logo, you can use the a tag for linking the index page -->
		<div id="header">
		<%String acc = (String)session.getAttribute("acc"); %>
		<ul id="header-menu">
			<li><p class="logo">Content-Editor</p></li>
			<li>
				<p class="hello">
					Chào <b><%=acc %></b>
				</p>
			</li>
			<li><a href="logout.jsp" class="logout">Đăng xuất</a></li>
		</ul>
			
			
<%-- 			<% --%>
<!-- // 				if(acc==null){ -->
<!-- // 					response.sendRedirect("/Vnplace/systemAdmin/login.jsp"); -->
<!-- // 				}else{ -->
				
<%-- 			%> --%>

<%-- 			<%} %> --%>
		</div>

		<!-- // #end mainNav -->

		<div id="containerHolder">
			<div id="container">
				<div id="sidebar">
					<ul class="sideNav">
						<li><a href="/Vnplace/content-editor/contenteditor.jsp">Trang chủ</a></li>
							<li><a href="/Vnplace/content-editor/manageLocation.jsp">Quản lý địa điểm</a></li>
							<li class="create"><a href="/Vnplace/content-editor/manageCategory.jsp" >Quản lý nhóm địa điểm</a></li>
							<li class="error"><a href="/Vnplace/content-editor/manageerror.jsp" >Quản lý lỗi</a></li>
					</ul>
					<!-- // .sideNav -->
				</div>
				<!-- // #sidebar -->
				<div id="link-home">
					<ul id="link-ul">
						<li><a href="/Vnplace/content-editor/contenteditor.jsp">Trang chủ</a></li>
						<li><img src="/Vnplace/content-editor/image/12.png" width="15px" height="25px" class="home"/></li>
						<li><a href="./content-editor/addCategory.jsp">Thêm nhóm địa điểm</a></li>
					</ul>	 
				</div>
				<div id="main">
				
					<form action="/Vnplace/CreateCategory" method="post">
							<fieldset id="fieldset">
								
								<div class="title">
									<p class="p-title">Thêm nhóm địa điểm</p>
								</div>	
								<br/>
								<%Object a = request.getAttribute("mess");
									  if(a!=null){
									%>
									<div id="show-success">
											<ul id="ul-success">
												<li> <img src="content-editor/image/tich.png" alt="" width="40px" height="40px" style="margin-left: 10px;margin-top: 5px;"/> </li>
												<li><p class="success">
														<%=a.toString() %>
												</p></li>
											</ul>
										</div>
									<%} %>							
								<hr/>
								<div id="content-error">
									<div id="name-error">
										<label>Tên nhóm địa điểm:</label>
										<input type="text" name="nameCategory" class="name-cate" required="required" placeholder=" Nhóm địa điểm..." size="35"/>
									</div>
									<div id="edit-error" style=" margin-top: 20px;">
										<input type="submit" value="Tạo mới nhóm" class="btnEdit"/>
										<input type="button" value="Hủy" class="btnCancel" onclick="window.location='/Vnplace/content-editor/manageCategory.jsp'"/>
									</div>
								</div>
							</fieldset>
					</form>
				</div>
				<!-- // #main -->

				<div class="clear"></div>
			</div>
			<!-- // #container -->
		</div>
		<!-- // #containerHolder -->
		<div id="footer" class="footer">
			<p class="copyright">©Copyright 2014 Vnplacevn</p>
		</div>
	</div>

	<!-- // #wrapper -->
</body>
</html>
